package com.yidu.qx.service;

import com.yidu.qx.domain.QxCharacterEntity;
import com.yidu.qx.domain.QxRoleUserEntity;
import com.yidu.qx.utils.Pages;

import java.util.List;

/**
 * 用户角色表dao
 */
public interface RoleUserService {
    void add(QxRoleUserEntity qxRoleUserEntity);

    void delete(Integer id);

    void update(QxRoleUserEntity qxRoleUserEntity);

    List<QxCharacterEntity> findAll(QxRoleUserEntity qxRoleUserEntity, Pages pages);

    QxRoleUserEntity findById(Integer id);

    /**
     * 总行数
     * @return
     */
    Long count(QxRoleUserEntity qxRoleUserEntity);
}
